#ifndef __VTOR_LIFE_GAME_H__
#define __VTOR_LIFE_GAME_H__

#ifdef __cplusplus
extern "C" {
#endif

#include "vtor_game_cfg.h"
#include "vtor_map.h"

#ifdef __VTOR_LIFE_GAME__



typedef struct
{
	VtorBitMap* showMap;
	VtorBitMap* calcMap;
}VtorLifeGame;


void VtorLifeGame_Init(void);
void VtorLifeGame_Draw(VtorLifeGame* game);
int8_t VtorLifeGame_Play(VtorLifeGame* game);
int8_t VtorLifeGame_GetAroundLife(VtorLifeGame* game, int16_t x, int16_t y);

#endif // __VTOR_LIFE_GAME__

#ifdef __cplusplus
}
#endif

#endif
